#include "Date.h"
int main()
{
	Date d(2021,10,31);
	Date d2;
	d.Print();
	d += 100;
	d.Print();
	d -= 100;
	d.Print();

	++d;
	d.Print();
	--d;
	d.Print();
	cout << "++++++++++" << endl;
	d2 = d++;
	d2.Print();
	d2 = d--;
	d2.Print();
	cout << "++++++++++" << endl;
	d.Print();
	Date d1(1999, 3, 2);
	d2 = Date(2024, 2, 16);
	Date d3 = Date(2050, 6, 16);
	Date d4 = Date(2050, 6, 16);
	cout << "++++++++++" << endl;
	cout << (d1 > d2) << endl << (d1 <= d2) << endl
		<< (d3 == d4) << endl << (d3 >= d4) << endl;
	cout << "++++++++++" << endl;
	cout << (d3 - d2) << endl;
	return 0;
}